//
//  LoginModel.swift
//  yuejian
//
//  Created by gyy on 2017/11/3.
//  Copyright © 2017年 gyy. All rights reserved.
//

import UIKit

class LoginModel: NSObject {
static var sessionID:String!
static var username:String!
static var userID:String!

class func getUserInfo(dict:NSDictionary){
    LoginModel.sessionID = dict.value(forKey: "sessionid") as! String
    LoginModel.username = dict.value(forKey: "user_name") as! String
    LoginModel.userID = dict.value(forKey: "id") as! String
}
}
